import java.lang.Math.*;

public class Quadrat extends BasisKlasse
{
	double x;
	
	public Quadrat(double x)
	{
		this.x = x;
	}
	
	public double berechneFlaeche()
	{
		return x*x;
	}
	
	public double berechneUmfang()
	{
		return 4*x;
	}
		
}
	